package com.azt.front;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller("/wqq")
public class WQQAction {
	
	
	@RequestMapping("/zhangdong/{to}")
	public String priceAsk(@PathVariable("to") String to, HttpServletRequest request , HttpServletResponse response , Model model){
		return "demo/zhangdong/" + to;
	}
	
	@RequestMapping("/zouheyuan/{to}")
	public String supply(@PathVariable("to") String to, HttpServletRequest request , HttpServletResponse response , Model model){
		System.out.println(111);
		return "demo/zouheyuan/" + to;
	}
	
	/*@RequestMapping("/shangwenqiang/{to}")
	public String order(@PathVariable("to") String to, HttpServletRequest request , HttpServletResponse response , Model model){
		
		return "demo/shangwenqiang/" + to;
	}*/
	@RequestMapping("/zhaheng/{to}")
	public String role(@PathVariable("to") String to, HttpServletRequest request , HttpServletResponse response , Model model){
		
		return "demo/zhaheng/" + to;
	}
	@RequestMapping("/zhoudd/{to}")
	public String user(@PathVariable("to") String to, HttpServletRequest request , HttpServletResponse response , Model model){
		
		return "demo/zhoudd/" + to;
	}
	@RequestMapping("/mesage/{to}")
	public String mesage(@PathVariable("to") String to, HttpServletRequest request , HttpServletResponse response , Model model){
		
		return "demo/mesage/" + to;
	} 
}
